package com.itcorey.interview.pojo;

import java.util.List;

/**
 * @Auther: corey
 * @Date: 2021/3/12 21:12
 * @Description:
 */
//@Data
//@AllArgsConstructor
public class DTO {

    private String name;
    private Integer age;

    public DTO(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "(name=" + this.name + ", age=" + this.age + ")";
    }


}
